<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Priithon.wxAsyncDispatcher.DispatcherConnection</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="Priithon-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/priithon">Priithon</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="Priithon-module.html">Package&nbsp;Priithon</a> ::
        <a href="Priithon.wxAsyncDispatcher-module.html">Module&nbsp;wxAsyncDispatcher</a> ::
        Class&nbsp;DispatcherConnection
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="Priithon.wxAsyncDispatcher.DispatcherConnection-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class DispatcherConnection</h1><p class="nomargin-top"><span class="codelink"><a href="Priithon.wxAsyncDispatcher-pysrc.html#DispatcherConnection">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_priithon_87" name="uml_class_diagram_for_priithon_87">
<area shape="rect" id="node410" href="Priithon.wxAsyncDispatcher.DispatcherConnection-class.html#__init__" title="seb: logFcn, if None no logging done, otherwise logFcn called for each &#160;log&#45;print" alt="" coords="17,561,256,580"/>
<area shape="rect" id="node410" href="Priithon.wxAsyncDispatcher.DispatcherConnection-class.html#writable" title="Priithon.wxAsyncDispatcher.DispatcherConnection.writable" alt="" coords="17,580,256,599"/>
<area shape="rect" id="node410" href="Priithon.wxAsyncDispatcher.DispatcherConnection-class.html#handle_write" title="Priithon.wxAsyncDispatcher.DispatcherConnection.handle_write" alt="" coords="17,599,256,617"/>
<area shape="rect" id="node410" href="Priithon.wxAsyncDispatcher.DispatcherConnection-class.html#log" title="Priithon.wxAsyncDispatcher.DispatcherConnection.log" alt="" coords="17,617,256,636"/>
<area shape="rect" id="node410" href="Priithon.wxAsyncDispatcher.DispatcherConnection-class.html#log_info" title="Priithon.wxAsyncDispatcher.DispatcherConnection.log_info" alt="" coords="17,636,256,655"/>
<area shape="rect" id="node410" href="Priithon.wxAsyncDispatcher.DispatcherConnection-class.html#handle_close" title="Priithon.wxAsyncDispatcher.DispatcherConnection.handle_close" alt="" coords="17,655,256,673"/>
<area shape="rect" id="node1" href="Priithon.wxAsyncDispatcher.DispatcherConnection-class.html" title="Priithon.wxAsyncDispatcher.DispatcherConnection" alt="" coords="5,529,267,679"/>
<area shape="rect" id="node4" href="Priithon.wxAsyncDispatcher.LineEchoConnection-class.html" title="Priithon.wxAsyncDispatcher.LineEchoConnection" alt="" coords="59,699,216,738"/>
<area shape="rect" id="node411" href="javascript:void(0);" title="asyncore.dispatcher_with_send.initiate_send" alt="" coords="44,465,229,484"/>
<area shape="rect" id="node411" href="javascript:void(0);" title="asyncore.dispatcher_with_send.send" alt="" coords="44,484,229,503"/>
<area shape="rect" id="node2" href="javascript:void(0);" title="asyncore.dispatcher_with_send" alt="" coords="32,433,240,509"/>
<area shape="rect" id="node412" href="javascript:void(0);" title="asyncore.dispatcher.debug" alt="" coords="33,31,241,49"/>
<area shape="rect" id="node412" href="javascript:void(0);" title="asyncore.dispatcher.connected" alt="" coords="33,49,241,68"/>
<area shape="rect" id="node412" href="javascript:void(0);" title="asyncore.dispatcher.accepting" alt="" coords="33,68,241,87"/>
<area shape="rect" id="node412" href="javascript:void(0);" title="asyncore.dispatcher.closing" alt="" coords="33,87,241,105"/>
<area shape="rect" id="node412" href="javascript:void(0);" title="asyncore.dispatcher.addr" alt="" coords="33,105,241,124"/>
<area shape="rect" id="node412" href="javascript:void(0);" title="asyncore.dispatcher.__repr__" alt="" coords="33,127,241,145"/>
<area shape="rect" id="node412" href="javascript:void(0);" title="asyncore.dispatcher.add_channel" alt="" coords="33,145,241,164"/>
<area shape="rect" id="node412" href="javascript:void(0);" title="asyncore.dispatcher.del_channel" alt="" coords="33,164,241,183"/>
<area shape="rect" id="node412" href="javascript:void(0);" title="asyncore.dispatcher.create_socket" alt="" coords="33,183,241,201"/>
<area shape="rect" id="node412" href="javascript:void(0);" title="asyncore.dispatcher.set_socket" alt="" coords="33,201,241,220"/>
<area shape="rect" id="node412" href="javascript:void(0);" title="asyncore.dispatcher.set_reuse_addr" alt="" coords="33,220,241,239"/>
<area shape="rect" id="node412" href="javascript:void(0);" title="asyncore.dispatcher.readable" alt="" coords="33,239,241,257"/>
<area shape="rect" id="node412" href="javascript:void(0);" title="asyncore.dispatcher.listen" alt="" coords="33,257,241,276"/>
<area shape="rect" id="node412" href="javascript:void(0);" title="asyncore.dispatcher.bind" alt="" coords="33,276,241,295"/>
<area shape="rect" id="node412" href="javascript:void(0);" title="asyncore.dispatcher.connect" alt="" coords="33,295,241,313"/>
<area shape="rect" id="node412" href="javascript:void(0);" title="asyncore.dispatcher.accept" alt="" coords="33,313,241,332"/>
<area shape="rect" id="node412" href="javascript:void(0);" title="asyncore.dispatcher.recv" alt="" coords="33,332,241,351"/>
<area shape="rect" id="node412" href="javascript:void(0);" title="asyncore.dispatcher.close" alt="" coords="33,351,241,369"/>
<area shape="rect" id="node412" href="javascript:void(0);" title="asyncore.dispatcher.handle_accept" alt="" coords="33,388,241,407"/>
<area shape="rect" id="node3" href="javascript:void(0);" title="asyncore.dispatcher" alt="" coords="21,6,253,413"/>
</map>
  <img src="uml_class_diagram_for_priithon_87.gif" alt='' usemap="#uml_class_diagram_for_priithon_87" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.wxAsyncDispatcher.DispatcherConnection-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">connection</span>,
        <span class="summary-sig-arg">logFcn</span>=<span class="summary-sig-default">None</span>)</span><br />
      seb: logFcn, if None no logging done, otherwise logFcn called for 
      each log-print</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.wxAsyncDispatcher-pysrc.html#DispatcherConnection.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.wxAsyncDispatcher.DispatcherConnection-class.html#writable" class="summary-sig-name">writable</a>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.wxAsyncDispatcher-pysrc.html#DispatcherConnection.writable">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.wxAsyncDispatcher.DispatcherConnection-class.html#handle_write" class="summary-sig-name">handle_write</a>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.wxAsyncDispatcher-pysrc.html#DispatcherConnection.handle_write">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.wxAsyncDispatcher.DispatcherConnection-class.html#log" class="summary-sig-name">log</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">message</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.wxAsyncDispatcher-pysrc.html#DispatcherConnection.log">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.wxAsyncDispatcher.DispatcherConnection-class.html#log_info" class="summary-sig-name">log_info</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">message</span>,
        <span class="summary-sig-arg">type</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">info</code><code class="variable-quote">'</code></span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.wxAsyncDispatcher-pysrc.html#DispatcherConnection.log_info">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.wxAsyncDispatcher.DispatcherConnection-class.html#handle_close" class="summary-sig-name">handle_close</a>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.wxAsyncDispatcher-pysrc.html#DispatcherConnection.handle_close">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>asyncore.dispatcher_with_send</code></b>:
      <code>initiate_send</code>,
      <code>send</code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>asyncore.dispatcher</code></b>:
      <code>__getattr__</code>,
      <code>__repr__</code>,
      <code>accept</code>,
      <code>add_channel</code>,
      <code>bind</code>,
      <code>close</code>,
      <code>connect</code>,
      <code>create_socket</code>,
      <code>del_channel</code>,
      <code>handle_accept</code>,
      <code>handle_connect</code>,
      <code>handle_error</code>,
      <code>handle_expt</code>,
      <code>handle_expt_event</code>,
      <code>handle_read</code>,
      <code>handle_read_event</code>,
      <code>handle_write_event</code>,
      <code>listen</code>,
      <code>readable</code>,
      <code>recv</code>,
      <code>set_reuse_addr</code>,
      <code>set_socket</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>asyncore.dispatcher</code></b>:
      <code>accepting</code>,
      <code>addr</code>,
      <code>closing</code>,
      <code>connected</code>,
      <code>debug</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">connection</span>,
        <span class="sig-arg">logFcn</span>=<span class="sig-default">None</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.wxAsyncDispatcher-pysrc.html#DispatcherConnection.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>seb: logFcn, if None no logging done, otherwise logFcn called for each
  log-print</p>
  <dl class="fields">
    <dt>Overrides:
        asyncore.dispatcher.__init__
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="writable"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">writable</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.wxAsyncDispatcher-pysrc.html#DispatcherConnection.writable">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  
  <dl class="fields">
    <dt>Overrides:
        asyncore.dispatcher.writable
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="handle_write"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">handle_write</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.wxAsyncDispatcher-pysrc.html#DispatcherConnection.handle_write">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  
  <dl class="fields">
    <dt>Overrides:
        asyncore.dispatcher.handle_write
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="log"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">log</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">message</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.wxAsyncDispatcher-pysrc.html#DispatcherConnection.log">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  
  <dl class="fields">
    <dt>Overrides:
        asyncore.dispatcher.log
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="log_info"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">log_info</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">message</span>,
        <span class="sig-arg">type</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">info</code><code class="variable-quote">'</code></span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.wxAsyncDispatcher-pysrc.html#DispatcherConnection.log_info">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  
  <dl class="fields">
    <dt>Overrides:
        asyncore.dispatcher.log_info
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="handle_close"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">handle_close</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.wxAsyncDispatcher-pysrc.html#DispatcherConnection.handle_close">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  
  <dl class="fields">
    <dt>Overrides:
        asyncore.dispatcher.handle_close
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="Priithon-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/priithon">Priithon</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Mon Nov 22 14:59:46 2010
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
